package small.woods.msweb.intergration;

import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import small.woods.msfacade.api.TestApi;

/**
 * @description:
 * @author: yutingting
 * @create: 2021-05-08 22:33
 **/
@Service
@Slf4j
public class TestIntergration {
    @Autowired
    TestApi testApi;

    public void test() {
        try {
            String message = testApi.test();
            log.info("userPO:{}",message);
        } catch (Exception e) {
            log.warn("调用test接口出错");
        }
    }

}
